#include <stdio.h>

struct stu
{
    char name[10];
    int age;
};

//匿名struct 重命名
typedef struct
{
    char name[20];
    int age;
}stu;

int main()
{
    stu Wang = {"Wang Yiming", 20};
    printf("name = %s\n", Wang.name);
    printf("age = %d", Wang.age);
    return 0;
}